<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<script src="jquery-2.0.3.js"></script>
<script>


$(function(){
	 
	//$('div').pushStack( $('span') ).css('background','red').end().css('background','yellow');
	
	//$('div').slice(1,3).css('background','red').end().css('color','blue');
	
	//$('div').eq(0).css('background','red');
	
	var arr = ['a','b','c'];
	
	arr = $.map(arr,function(elem,i){
		return elem + i;
	});
	
	alert( arr );
	
});

</script>
</head>

<body>
<div>div</div>
<div>div</div>
<div>div</div>
<div>div</div>
<span>span</span>
</body>
</html>
